package com.leTest.eduService.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.leTest.eduService.entity.CourseEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.leTest.eduService.entity.frontVo.CourseFrontVo;
import com.leTest.eduService.entity.frontVo.CourseWebVo;
import com.leTest.eduService.entity.vo.CourseInfoVo;

import java.util.Map;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author le
 * @since 2025-02-16
 */
public interface CourseService extends IService<CourseEntity> {

    String saveCourseInfo(CourseInfoVo courseInfoVo);

    CourseInfoVo getCourseInfo(String courseId);

    void updateCourseInfo(CourseInfoVo courseInfoVo);

    Map<String, Object> getCourseFrontList(Page<CourseEntity> pageCourse, CourseFrontVo courseFrontVo);

    CourseWebVo getBaseCourseInfo(String courseId);
}
